CUW\App\Models\Stats C

Total Complexity 115
Dependencies 11
Dependents 8
Total lines 621
Lines of code 399
Logical lines of code 225
Comment lines 164
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
save()
B
39 20 55
getUpsellInfo()
B
33 15 102
getOfferUsageCountBasedOnCurrentUser()
A
49 11 30
getCampaignUsageCountBasedOnCurrentUser()
A
49 11 30
getDateByRange()
A
51 11 24
prepareChartData()
A
45 9 35
prepareReportWhereQuery()
A
53 8 20
getChartData()
S
56 6 16
getDiffPercentage()
S
62 7 10
getRecordsDateIntervalInSeconds()
S
65 4 9
create()
S
59 1 25
getOffersCreatedCount()
S
67 2 7
getCampaignsCreatedCount()
S
67 2 7
getRevenue()
S
66 2 7
runPatch()
S
77 1 4
getItemsCount()
S
73 1 4
getOrdersCount()
S
73 1 4
getEachCampaignTypeRevenue()
S
73 1 4
getSavedItemIds()
S
77 1 3
getAvailableCurrencies()
S
78 1 3